package com.cb.wxy.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 *
 * @TableName t_couopons_user
 */
@TableName(value ="t_couopons_user")
@Data
public class CouoponsUser implements Serializable {
    /**
     *
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 优惠卷id
     */
    @TableField(value = "cid")
    private Integer cid;

    /**
     * 用户ID
     */
    @TableField(value = "uid")
    private Integer uid;
    @TableField(value = "time")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date time;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
